package com.mk.graphql.resolver;

import com.mk.graphql.service.Service;
import graphql.kickstart.tools.GraphQLQueryResolver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ServiceQuery implements GraphQLQueryResolver {
    @Autowired
    private Service service;

    public Service getService() {
        return service;
    }
}
